package com.zahb.qadx.ui.activity;


import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.zahb.qadx.R;
import com.zahb.qadx.base.BaseActivity;
import com.zahb.qadx.ui.view.CircleImageView;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * Created by huwei.
 * Data 2020-09-29.
 * Time 15:42.
 */
public class PersonalActivity extends BaseActivity {

    @BindView(R.id.headPhoto_iv)
    CircleImageView headPhotoIv;
    @BindView(R.id.headMessage_edit_layout)
    RelativeLayout headMessageEditLayout;
    @BindView(R.id.tv_name)
    TextView tvName;
    @BindView(R.id.tv_idcard)
    TextView tvIdcard;
    @BindView(R.id.tv_phone)
    TextView tvPhone;
    @BindView(R.id.tv_department)
    TextView tvDepartment;
    @BindView(R.id.img_more)
    ImageView imgMore;
    @BindView(R.id.tv_more)
    TextView tvMore;

    @Override
    protected int getLayout() {
        return R.layout.activity_userinfo;
    }

    @Override
    protected void initViews() {
        mUnbinder = ButterKnife.bind(this);
        tvName.setText(getIntent().getStringExtra("userName"));
        tvPhone.setText(getIntent().getStringExtra("phone"));
        tvIdcard.setText(getIntent().getStringExtra("idCard"));
        tvDepartment.setText(getIntent().getStringExtra("orgName"));//部门
    }

    @Override
    protected int getTitleStringRes() {
        return R.string.mine_persion;
    }
}
